<?php
class Dataconfig{
    var $host;
    var $database;
    var $username;
    var $password;
    function DataConfig($_host="localhost",$_database="coffee",$_username="root",$_password=""){
    	$this->host=$_host;
    	$this->database=$_database;
    	$this->username=$_username;
    	$this->password=$_password;
    }
    function gethost(){
        return $this->host;
    }
    function getdatabase(){
        return $this->database;
    }
    function getusername(){
        return $this->username;
    }
    function getpassword(){
        return $this->password;
    }
}

?>
